import request from "@/servives"


class Address {
  static setAddress = (data) => request.post("/address/addaddress", data)
  static getAddressList = (data) => request.get("/address/listAddress?userid=" + data)
  static editAddressList = (data) => request.post("/address/updateaddress", data)
  static deleteAddressList = (data) => request.get("/address/deleteaddress?addressid=" + data)
}

export default Address